Redo the logic for computing drop positions
authorFederico Mena Quintero <federico@gnome.org>
Tue, 29 Jan 2013 07:14:10 +0000 (01:14 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Tue, 29 Jan 2013 07:14:10 +0000 (01:14 -0600)
commitfafec940b379879cf31479616338c041ece668a9
tree37c64ffa52c80a6ef7975be0325d2f8303f6a040
parent2a3557406749f4a0440697cc6d419390d3bc3684
Redo the logic for computing drop positions

Instead of having an accept_uri_drops flag, we'll always advertise as accepting URI drops.
However, we'll see if the caller actually handles the drag-action-requested signal.  If it
does, we'll indeed allow performing file operations when URIs are dropped.  Otherwise,
we'll only allow creating bookmarks from dragged URIs.

Dragging URIs directly into a places item will cause the sidebar to check if the caller
allows file operations.  Dragging URIs between places items will cause the sidebar
to create bookmarks for those URIs instead.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkplacessidebar.c